package com.shop.dao;

import com.shop.po.Purchasesub;
import com.shop.po.PurchasesubExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PurchasesubMapper {
    int countByExample(PurchasesubExample example);

    int deleteByExample(PurchasesubExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Purchasesub record);

    int insertSelective(Purchasesub record);

    List<Purchasesub> selectByExample(PurchasesubExample example);

    Purchasesub selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Purchasesub record, @Param("example") PurchasesubExample example);

    int updateByExample(@Param("record") Purchasesub record, @Param("example") PurchasesubExample example);

    int updateByPrimaryKeySelective(Purchasesub record);

    int updateByPrimaryKey(Purchasesub record);
}